from TEST.Head.数据准备 import readyData

class BuyData():

    def check(self):
        readyData().Buy()

    def data_零钱理财(self):
        data = [['lisi3', '123456', '666666', '买入成功!', '100'],
                ['lisi3', '123456', '666667', '买入失败!', '0'],
                ['lisi4', '123456', '666666', '买入失败!，银行卡余额不足', '0'],
                ['lisi5', '123456', '666666', '买入失败!，请绑定银行卡', '0']]
        return data

    def data_期限理财(self):
        data = [['lisi3', '123456', '666666', '买入成功!', '5000'],
                ['lisi3', '123456', '666667', '买入失败!', '0'],
                ['lisi4', '123456', '666666', '买入失败!，银行卡余额不足', '0'],
                ['lisi5', '123456', '666666', '买入失败!，请绑定银行卡', '0']]
        return data

    def data_基金理财(self):
        data = [['lisi3', '123456', '666666', '买入成功!', '3000'],
                ['lisi3', '123456', '666667', '买入失败!', '0'],
                ['lisi4', '123456', '666666', '买入失败!，银行卡余额不足', '0'],
                ['lisi5', '123456', '666666', '买入失败!，请绑定银行卡', '0']]
        return data

    def data_银行卡支付(self):
        data = [['lisi6', '123456', '666667', '买入失败!', '0'],
                ['lisi7', '123456', '666666', '买入成功!', '3000'],
                ['lisi7', '123456', '666666', '买入成功!', '3000'],
                ['lisi5', '123456', '666666', '买入失败!，请绑定银行卡', '0']]
        return data

# BuyData().check()